{include file="findInclude:common/templates/header.tpl"}

{capture name="categorySelect" assign="categorySelect"}
  <select class="input" id="class" name="class" onchange="loadClass(this);">
    {foreach $classes as $class}
      {if $class['value']==$currentClass}
        <option value="{$class['value']}" selected="true">{$class['title']}</option>
      {else}
        <option value="{$class['value']}">{$class['title']}</option>
      {/if}
    {/foreach}
  </select>
{/capture}

<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="formlabel">班　級：</td>
    <td class="inputfield"><div id="news-category-select">{$categorySelect}</div></td>
    </td>
  </tr>
</table>

{block name="searchbox"}
  {include file="findInclude:common/templates/search.tpl" tip="搜尋前請先選擇班級" searchPage=index extraArgs=$extraArgs}
{/block}

{block name="navList"}
  {include file="findInclude:common/templates/navlist.tpl" navlistItems=$students}
{/block}

{include file="findInclude:common/templates/footer.tpl"}
